package com.lswms.modules.lswms.dto.check;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;

/**
 * 盘点明细
 *
 * @author DX sunlightcs@gmail.com
 * @since 1.0.0 2021-07-08
 */
@Data
@ApiModel(value = "盘点明细")
public class CheckdetailDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "序号")
	private Long id;

	@ApiModelProperty(value = "盘点号")
	private String checkkey;

	@ApiModelProperty(value = "行号")
	private Integer line;

	@ApiModelProperty(value = "状态")
	private Integer status;

	@ApiModelProperty(value = "自商品")
	private String sku;

	@ApiModelProperty(value = "批号")
	private String lot;

	@ApiModelProperty(value = "库位编码")
	private String location;

	@ApiModelProperty(value = "目的托盘")
	private String tray;

	@ApiModelProperty(value = "目的容器")
	private String box;

	@ApiModelProperty(value = "数量")
	private BigDecimal qty;

	@ApiModelProperty(value = "初盘数量")
	private BigDecimal firstqty;

	@ApiModelProperty(value = "初盘人")
	private String firstuser;

	@ApiModelProperty(value = "初盘时间")
	private Date firsttime;

	@ApiModelProperty(value = "复盘数量")
	private BigDecimal secondqty;

	@ApiModelProperty(value = "复盘人")
	private String seconduser;

	@ApiModelProperty(value = "复盘时间")
	private Date secondaddtime;

	@ApiModelProperty(value = "生产日期")
    @DateTimeFormat(pattern="yyyy-MM-dd")
  	@JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
	private Date lot1;

	@ApiModelProperty(value = "有效日期")
    @DateTimeFormat(pattern="yyyy-MM-dd")
  	@JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
	private Date lot2;

	@ApiModelProperty(value = "属性3")
	private String lot3;

	@ApiModelProperty(value = "属性4")
	private String lot4;

	@ApiModelProperty(value = "属性5")
	private String lot5;

	@ApiModelProperty(value = "属性6")
	private String lot6;

	@ApiModelProperty(value = "属性7")
	private String lot7;

	@ApiModelProperty(value = "属性8")
	private String lot8;

	@ApiModelProperty(value = "属性9")
	private String lot9;

	@ApiModelProperty(value = "属性10")
	private String lot10;
	
	@ApiModelProperty(value = "属性11")
	private String lot11;
	
	@ApiModelProperty(value = "属性12")
	private String lot12;
	
	@ApiModelProperty(value = "属性13")
	private String lot13;
	
	@ApiModelProperty(value = "属性14")
	private String lot14;
	
	@ApiModelProperty(value = "属性15")
	private String lot15;
	
	@ApiModelProperty(value = "属性15")
	private String toloc;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "回传状态")
	private String backstatus;

	@ApiModelProperty(value = "回传时间")
	private Date backdate;

	@ApiModelProperty(value = "回传结果")
	private String backresult;

	@ApiModelProperty(value = "回传码")
	private String backcode;

	@ApiModelProperty(value = "仓库")
	private String warehouse;

	@ApiModelProperty(value = "创建人")
	private String adduser;

	@ApiModelProperty(value = "创建时间")
	private Date addtime;

	@ApiModelProperty(value = "修改人")
	private String updatuser;

	@ApiModelProperty(value = "修改时间")
	private Date updatetime;


}